/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cms.sessionbean;

import dto.Reviewcategory;
import dto.Reviewcontents;
import dto.Reviewdetails;
import dto.Reviewlog;
import dto.Reviewrate;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Gary
 */
@Remote
public interface ReviewMgmtRemote {
 public String assignviewer(String conferenceName,String conferenceItem, String reviewer, String assigner, String title, String desc, String adminComments) ;
      public boolean createReviewerForm(String reviewId,  int mark);
    public Reviewlog  getReviewLog(String reviewID);
    public List<Reviewlog>  getReviewLogs(String conferenceItem);
    public List<Reviewlog>  getReviewLogsByReviewer(String reviwer);
    
    
    public  Reviewcategory  getReviewCategory(String catID);
    
    public  List<Reviewcategory>  getAllReviewCategory();
    public boolean updateReviewCategory(String catName, int weight);
     public boolean updateReviewCategory(Reviewcategory category);
    public  boolean  deleteReviewCategory(String  catID);
    public  boolean  deleteReviewCategory(Reviewcategory  category );
    
    
    public Reviewcontents  getReviewcContents(String contentID);
    public List<Reviewcontents>  getReviewcContentsByCategoryID(String catID);
    public boolean   updateReviewcContents(Reviewcontents content);
    public boolean  deleteReviewcContents(String  contentID);

  
    
   public boolean updateReviewDetails(String catID,String contentID,int rate);   
   
    
}
